import 'package:flutter/material.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBEngineer/YBBaseRouter/YBApplication.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBColor/YBColor.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBImageStyle/YBImageStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/yb_chinese_text/yb_chinese_text.dart';

class YBHomePageMainTPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      child: Padding(
          padding:EdgeInsets.only(left: YBTextStyle.adapterSize20,right: YBTextStyle.adapterSize20,top: YBTextStyle.adapterSize26),
          child: Column(
            mainAxisAlignment: MainAxisAlignment.start,
            crossAxisAlignment: CrossAxisAlignment.stretch,
            children: [
              Container(
                child: Text(
                  YBChineseText.homeTextKaPainJingCaiTitle,
                  style: YBTextStyle.textStyle18181818Medium,
                ),
              ),
              Container(
                child: InkWell(
                  child: Padding(
                    padding:EdgeInsets.only(top: YBTextStyle.adapterSize14,bottom: YBTextStyle.adapterSize24),
                    child: Image.asset(YBImageStyle.getImagePath("homePage_zhidingpintai"),fit: BoxFit.fitWidth,height: YBTextStyle.adapterSize100,),
                  ),
                  onTap: () async {
                  },
                ),
              ),
            ],
          ),
      ),
    );
  }
}
